package cn.itrip.biz.service.impl;

import cn.itrip.beans.dto.Dto;
import cn.itrip.beans.pojo.ItripLabelDic;
import cn.itrip.biz.service.ItripFeatureService;
import cn.itrip.common.DtoUtils;
import cn.itrip.dao.mapper.ItripLabelDicMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ItripFeatureServiceImpl implements ItripFeatureService{

    @Resource
    private ItripLabelDicMapper itripLabelDicMapper;
    @Override
    public Dto listQueryFeature() throws Exception {
        List<ItripLabelDic> ild=itripLabelDicMapper.selectHotelFeature();
        return DtoUtils.getSuccesDto(ild);
    }
}
